//
//  Formatter.swift
//  Documentation
//
//  Created by Toj on 11/13/23.
//

extension Formatter {

    @available(iOS 8.0, *)
    public enum Context : Int, @unchecked Sendable {

        
        case unknown = 0

        case dynamic = 1

        case standalone = 2

        case listItem = 3

        case beginningOfSentence = 4

        case middleOfSentence = 5
    }

    
    /*
     * There are 3 widths: long, medium, and short.
     * For example, for English, when formatting "3 pounds"
     * Long is "3 pounds"; medium is "3 lb"; short is "3#";
     */
    @available(iOS 8.0, *)
    public enum UnitStyle : Int, @unchecked Sendable {

        case short = 1

        case medium = 2

        case long = 3
    }
}
